﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SearchRS
{
    public class TorecResult
    {
        public string Title { get; set; }
        public string SubsLink { get; set; }

        public TorecResult(string title, string subsLink)
        {
            Title = title;
            SubsLink = subsLink;
        }
    }

    public class TorecResults
    {
        public List<TorecResult> Results { get; set; }

        public TorecResults()
        {
            Results = new List<TorecResult>();
        }

        public void AddResult(string title, string subsLink)
        {
            Results.Add(new TorecResult(title, subsLink));
        }
    }
}